import { request } from "@/utils/service"

/** 查 */
export function getApi(params: any) {
  return request<any>({
    url: "daily",
    method: "get",
    params
  })
}

/** 创建 */
export function createApi(params: any) {
  return request<any>({
    url: `daily`,
    method: "post",
    data: params
  })
}
